package com.sitech.openapi.service;

import com.sitech.openapi.domain.Test;
import com.sitech.openapi.mapper.TestMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
@Slf4j
public class TestServiceImpl implements TestService{

    @Autowired
    private TestMapper testMapper;

    @Override
    public Test queryTest(String code) {
        log.info("日志测试》》》》》》》"+code);
        //String name = testMapper.querySystemUserName(code);
        String name = "666";
        Test test = new Test();
        test.setName(name);
        test.setCode(code);
        return test;
    }
}
